package com.shuwen.gcdj.mapper.mysql.basics;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.shuwen.gcdj.bean.DictResp;
import com.shuwen.gcdj.bean.basicsEquitment.request.EquipmentObjectReq;
import com.shuwen.gcdj.bean.basicsEquitment.request.ListPageReq;
import com.shuwen.gcdj.bean.basicsEquitment.response.EquipmentListResp;
import com.shuwen.gcdj.bean.basicsEquitment.response.EquipmentObjectResp;
import com.shuwen.gcdj.bean.strategy.request.QueryEmentReq;
import com.shuwen.gcdj.entity.basics.BasicsEquipment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 小逸
* @description 针对表【basics_equipment(设备表 )】的数据库操作Mapper
* @createDate 2023-05-11 09:23:29
* @Entity generator.domain.BasicsEquipment
*/
@Mapper
public interface BasicsEquipmentMapper extends BaseMapper<BasicsEquipment> {

    IPage<EquipmentListResp> getList(Page<EquipmentListResp> page, @Param("req") ListPageReq req);

    BasicsEquipment getSingle();

    List<EquipmentObjectResp> getEquipmentObject(EquipmentObjectReq req);

    List<DictResp> getEquipment(@Param("req")QueryEmentReq req);
}




